export default {
	namespaced: true,

	state: {
		payGoods: {},
		payGoodsList: [],
		cartList: [],
		cartLengh: 0,
		classifyList: [],
	},
	mutations: {
		SET_CLASSIFY(state, list) {
			state.classifyList = list;
		},
		SET_CARTLIST(state, list) {
			state.cartList = list;
		},
		SET_CARTLENGTH(state, cartLengh) {
			state.cartLengh = cartLengh;
		},
		SET_PAYGOODS(state, goods) {
			state.payGoodsList = goods
		},
		CLEAR_GOODS(state) {
			state.payGoodsList = []
		},
		CLEAR(state) {
			state.cardList = [];
			state.payGoodsList = [];
			state.payGoods = {};
		},
	},
	actions: {

	}
}